home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / commo421.arc / COMMO.MAC < prev    next >
Text File  |  1990-07-19  |  6KB  |  138 lines

  1.                           ┌───────────────────┐
  2.  PgDn for more macros     │ Sample Macro File │      PgDn for more macros
  3.                           └───────────────────┘
  4.  
  5.  Move Selector Bar to desired entry, press [Enter].
  6.  Programs indicated to the right of each macro must be in your DOS path.
  7.  
  8.  You may assign keys to run these macros directly!  Put a key-id in place
  9.  of the "---".  Press [Alt-H] and page down to "List of Key Identifiers."
  10.  
  11.  Macros used for DOWNLOADING (receiving)                    Program required
  12.  ───────────────────────────────────────────────────────────────────────────
  13.  ZMODEM batch   {---} {exec DSZ port %p rz %a %w} {} (see note)  DSZ.COM
  14.  YMODEM batch   {---} {exec DSZ port %p rb %a %w} {} (see note)  DSZ.COM
  15.  YMODEM CRC     {---} {exec DSZ port %p rc %d\%i %a %w} {}       DSZ.COM
  16.  XMODEM CRC     {---} {exec DSZ port %p rc %d\%i %a %w} {}       DSZ.COM
  17.  PUMA           {---} {exec PUMA P%p S%s r %d\ %w} {}            PUMA.EXE
  18.  CIS BPlus      {---} {exec OZBEXT /c%p /f%d /x %w} {}           OZBEXT.EXE
  19.  ───────────────────────────────────────────────────────────────────────────
  20.  ** Note: registered DSZ users may add "%d" following the "rz" and "rb"
  21.           commands to direct downloads to a specific directory.
  22.  
  23.  Macros used for UPLOADING (sending)
  24.  ───────────────────────────────────────────────────────────────────────────
  25.  ZMODEM batch   {---} {exec DSZ port %p sz %u\%i %a %w} {}       DSZ.COM
  26.  YMODEM batch   {---} {exec DSZ port %p sb -k %u\%i %a %w} {}    DSZ.COM
  27.  YMODEM CRC     {---} {exec DSZ port %p sx -k %u\%i %a %w} {}    DSZ.COM
  28.  XMODEM CRC     {---} {exec DSZ port %p sx %u\%i %a %w} {}       DSZ.COM
  29.  PUMA           {---} {exec PUMA P%p S%s s %u\%i %w} {}          PUMA.EXE
  30.  CIS BPlus      {---} {exec OZBEXT /c%p /f%u /x %w} {}           OZBEXT.EXE
  31.  ───────────────────────────────────────────────────────────────────────────
  32.  
  33.  
  34.  Macro to review capture file, press Shift-F8            Program required
  35.  ───────────────────────────────────────────────────────────────────────────
  36.  {---}  {exec LIST %c %w} {}                               LIST.COM
  37.  
  38.  
  39.  Simple login macro, press F1
  40.  ───────────────────────────────────────────────────────────────────────────
  41.  {---}    {send Fred|~~Brucker|~~~~#|} {}       RBBS, PCBoard, Auntie, etc.
  42.  
  43.  
  44.  Macro to list download directory, press Alt-F10
  45.  ───────────────────────────────────────────────────────────────────────────
  46.  {---}  {exec dir %d /w %w} {}                  Download directory
  47.  
  48.  
  49.  Macro to login to a PCBoard (put "pcb" in Dialing Directory macro field)
  50.  ───────────────────────────────────────────────────────────────────────────
  51.  {pcb}  {capture y,c:\commo\pcb.cap} {asci ,:}
  52.         {setlook 60,hng,3,n|}
  53.         {lookfor first name?} {send Fred Brucker|~#|}  ═ your name here
  54.         {lookfor Main Board Command?} {}
  55.  
  56.  {hng}  {hangup y} {stop}
  57.  
  58.  
  59.  The following macro can be executed from the command line with the
  60.  switch "/m=dda".  It will login to Directory Assistance RBBS, read
  61.  and capture all messages in the MAIN, COMMO and COMM conferences,
  62.  download {COMMO} 4.2, then logoff.  After 50 dialing tries it will
  63.  give up and beep twice.
  64.  
  65.    (put "dir" in the Dialing Directory macro field)
  66.  ───────────────────────────────────────────────────────────────────────────
  67.  {dda}  {mark direc} {dial 50,bp2} {alarm 3} {}
  68.  {bp2}  {beep} {beep} {}
  69.  
  70.  {dir}  {capture y,c:\commo\direc.cap} {asci ,:}
  71.         {setlook 60,hng,3,n|}
  72.         {lookfor first name?} {send Fred Brucker|~#|}
  73.         {call di1}
  74.         {setlook ,,3,|}
  75.         {call di2} {call di1}
  76.         {send j commo|}
  77.         {call di2} {call di1}
  78.         {send j comm|}
  79.         {call di2} {call di1}
  80.         {send j main|} {call di1}
  81.         {send d;commo42.zip;z|}
  82.         {execute dsz port %p rz} {call di1}
  83.         {send g|} {capture n} {call ncr} {return}
  84.  
  85.  {di1}  {lookfor your command?} {return}
  86.  {di2}  {send r s c|} {lookfor [q]uit} {return}
  87.  {ncr}  {setlook 10} {lookfor no carrier} {return}
  88.  
  89.  
  90.  The next macro is a mini host mode.  It will answer on the first ring,
  91.  send a welcome message, wait for a password, then execute the batch
  92.  file "host.bat."  When you exit back to DOS it will hang up and recycle
  93.  for the next call.  A simple host.bat is included in the {COMMO}
  94.  package. It uses the DOS command "CTTY", but could easily be changed to
  95.  use any program such as the DoorWay program by Marshall Dudley
  96.  (available as shareware).
  97.  ───────────────────────────────────────────────────────────────────────────
  98.  {hos} {parms ,2400,8} {capture y,c:\commo\host.cap} {localecho y}
  99.  {hs1} {setlook 0} {lookfor ring} {send ~~~ata|}
  100.        {lookfor connect 2400} {pause 2}
  101.        {send |^J^L   Welcome!!!|^J^J   Enter password: }
  102.        {setlook 5,hs2}
  103.        {lookfor f} {send .}      Put your password here
  104.        {lookfor r} {send .}      (my password is "fred|", | is a cr)
  105.        {lookfor e} {send .}
  106.        {lookfor d} {send .}
  107.        {lookfor |}
  108.        {send |^J^J^J   Logon complete.|^J^J   Calling host, please wait ...}
  109.        {exec c:\commo\host %p} {hs2} {pause 1} {hangup y} {goto hs1}
  110.  
  111.  
  112.  Compuserve logon macro
  113.  ───────────────────────────────────────────────────────────────────────────
  114.  {cis}  {setlook 45,hng,2,^c} {send ^c} {capt y,c:\arct\cap\cis.cap} {asci ,:}
  115.         {lookfor User ID:} {send 71021,356|}
  116.         {setl 20,hng} {lookfor Password:} {send #|} {}
  117.  
  118.  
  119.  ANSI/VT102 Key Support
  120.  ───────────────────────────────────────────────────────────────────────────
  121.  {hom} {send ^[[H} {}           Home            These keys are used by many
  122.  {chm} {send ^[[L} {}           ^Home           full screen BBS editors.
  123.  {pgu} {send ^[[Or} {}          PgUp
  124.  {cpu} {send ^[[M} {}           ^PgUp           They are also part of the
  125.  {pgd} {send ^[[Oq} {}          PgDn            VT102 keyboard emulation.
  126.  {cpd} {send ^[[H^[[2J} {}      ^PgDn
  127.  {end} {send ^[[K} {}           End             For full VT102 keyboard
  128.                                                 support you must include one
  129.  {upa} {vtcur ^[[A|^[OA} {}     Up Arrow        of the two VT102 macro files
  130.  {dna} {vtcur ^[[B|^[OB} {}     Down Arrow      (VT102-1.MAC or VT102-2.MAC).
  131.  {lfa} {vtcur ^[[D|^[OD} {}     Left Arrow
  132.  {rta} {vtcur ^[[C|^[OC} {}     Right Arrow
  133.  
  134.  {ins} {send ^[On} {}           Insert
  135.  {del} {send } {}              Delete
  136.  {cbs} {send } {}              ^Backspace
  137.  
  138.